package com.hqj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
//因为包路径不同，需要加入basePackages属性
@EnableFeignClients(basePackages = {"com.hqj.service"})
public class HystrixConsumer9002Starter {

    public static void main(String[] args) {
        SpringApplication.run(HystrixConsumer9002Starter.class,args);
    }
}
